<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:mint='mint.dtd'>
  <?mintUse xhtml:xhtml/a.xhtml?>

  <xsl:output method='xml' version='1.0' encoding='UTF-8' indent='yes'/>
  <xsl:template match="/">
    <html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"
        mint:replace='xsl:]xhtml]:/xhtml:html'>
      <head>
        <title><xsl:value-of select="root/label" mint:id='titlePlug'/></title>
      </head>
      <body>
        <h1><xsl:value-of select="root/label"/></h1>
        <table border="1">
          <tr bgcolor="#9acd32">
            <th align="left">Val1</th>
            <th align="left">Val2</th>
          </tr>
          <xsl:for-each select="root/row" mint:id='data'>
            <xhtml:tr mint:replace='xslData:]xhtmlData]:/node()'>
              <td><xsl:value-of select="val1" mint:id='val1'/></td>
              <td><xsl:value-of select="val2" mint:id='val2'/></td>
            </xhtml:tr>
          </xsl:for-each>
        </table>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>
